
APXS=apxs

DISTFILES=mod_telemetry.c mod_telemetry.txt README INSTALL TODO COPYING AUTHORS HACKING ChangeLog LICENSE mod_telemetry.conf

# make a tarball suitable for spec insertion
dist:
	rm -rf /tmp/mod_telemetry-1.0
	mkdir /tmp/mod_telemetry-1.0
	cp ${DISTFILES} /tmp/mod_telemetry-1.0
	(cd /tmp; tar zcvfp mod_telemetry-1.0.tar.gz mod_telemetry-1.0)
	rm -rf /tmp/mod_telemetry-1.0
	mv /tmp/mod_telemetry-1.0.tar.gz .


module:
	${APXS} -i -c mod_telemetry.c -g -Wall


clean:
	rm *.o *~ *.lo *.la *.slo

all:	module

